package com.kai.mqtt.enums;

import lombok.AccessLevel;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.experimental.FieldDefaults;

/**
 * @author weijk
 * @since 2024/8/18
 */
@Getter
@AllArgsConstructor(access = AccessLevel.PRIVATE)
@FieldDefaults(level = AccessLevel.PRIVATE, makeFinal = true)
public enum AclActionEnum {

    SUBSCRIBE(1, "订阅"),
    PUBLISH(2, "发布"),
    SUB_AND_PUB(3, "订阅和发布");

    int code;
    String desc;
}
